package com.powersystem.demo;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.powersystem.demo.controller.FlawlogController;
import com.powersystem.demo.entity.PsLineInfo;
import com.powersystem.demo.mapper.FlawlogMapper;
import com.powersystem.demo.mapper.PsLineInfoMapper;
import com.powersystem.demo.service.IPsLineInfoService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.sql.Wrapper;

@SpringBootTest
public class text {
   @Autowired
    IPsLineInfoService ipl ;

   @Test
    public void ooo(){

       System.out.println(ipl.getOne(new QueryWrapper<PsLineInfo>().eq("LINECODE","XW0001")).getCommon());
   }
}
